#include <stdio.h>
#include <string.h>
//字符串
 
int main()
{
    //char 字符类型
    //'a';
    //char ch = 'w';

    //字符串
    //C语言中没有字符串类型
    //"abcdef"
    //字符串的结束标志是"\0"

    char arr1[] = "abcdef";
//    char arr2[] = {'a','b','c','d','e','f','\0'};
    char arr2[] = {'a','b','c','d','e','f','\0'};

//    int len = strlen("abc");    //求字符串长度的一个函数，string length  头文件string.h
//    printf("%d\n",len);
    printf("%d\n",strlen(arr1));
    printf("%d\n",strlen(arr2));

//    printf("%s\n",arr1);
//    printf("%s\n",arr2);

    return 0;
}